#ifndef PAGEHSCBSWITCH_H
#define PAGEHSCBSWITCH_H

#include <QWidget>
#include <QPushButton>
#include "global_def.h"

namespace Ui {
class PageHSCBSwitch;
}

class PageHSCBSwitch : public QWidget
{
    Q_OBJECT

public:
    explicit PageHSCBSwitch(QWidget *parent = nullptr);
    ~PageHSCBSwitch();
    void setPageActive(bool xActive);
private slots:
    void on_Btn_Return_clicked();
    void on_Btn_HSCB_1_clicked(bool checked);
    void on_Btn_HSCB_2_clicked(bool checked);
    void on_Btn_HSCB_3_clicked(bool checked);
    void on_Btn_HSCB_4_clicked(bool checked);
signals:
    void returnToMaintMenu();
    void openhscb(int index, bool xopen);
private:
    Ui::PageHSCBSwitch *ui;

};

#endif // PAGEHSCBSWITCH_H
